// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_QC_CONFIG
// * CreateDate    : 2014-06-05 18:30:28
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:28
// * LastChanger   : 2014-06-05 18:30:28
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class QcConfigTable : TableInfo
    {
		public const string C_TableName = "QC_CONFIG";
		
		public const string C_ID = "ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_CONFIG_NO = "CONFIG_NO";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_NAME = "MATERIAL_NAME";
		public const string C_MATERIAL_CODE = "MATERIAL_CODE";
		public const string C_TYPE_PUR = "TYPE_PUR";
		public const string C_TYPE_OTHER = "TYPE_OTHER";
		public const string C_TYPE_SHIPMENT = "TYPE_SHIPMENT";
		public const string C_TYPE_FINISHEDGOODS = "TYPE_FINISHEDGOODS";
		public const string C_TYPE_TECHNIC = "TYPE_TECHNIC";
		public const string C_TYPE_OUT = "TYPE_OUT";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public QcConfigTable()
        {
            _tableName = "QC_CONFIG";
        }
		
		protected static QcConfigTable _current;
        public static QcConfigTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new QcConfigTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_CONFIG_NO, new ColumnInfo(C_CONFIG_NO,"ConfigNo", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_NAME, new ColumnInfo(C_MATERIAL_NAME,"MaterialName", false, typeof(string)));
            _current.Add(C_MATERIAL_CODE, new ColumnInfo(C_MATERIAL_CODE,"MaterialCode", false, typeof(string)));
            _current.Add(C_TYPE_PUR, new ColumnInfo(C_TYPE_PUR,"TypePur", false, typeof(string)));
            _current.Add(C_TYPE_OTHER, new ColumnInfo(C_TYPE_OTHER,"TypeOther", false, typeof(string)));
            _current.Add(C_TYPE_SHIPMENT, new ColumnInfo(C_TYPE_SHIPMENT,"TypeShipment", false, typeof(string)));
            _current.Add(C_TYPE_FINISHEDGOODS, new ColumnInfo(C_TYPE_FINISHEDGOODS,"TypeFinishedgoods", false, typeof(string)));
            _current.Add(C_TYPE_TECHNIC, new ColumnInfo(C_TYPE_TECHNIC,"TypeTechnic", false, typeof(string)));
            _current.Add(C_TYPE_OUT, new ColumnInfo(C_TYPE_OUT,"TypeOut", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo CONFIG_NO
        {
            get { return this[C_CONFIG_NO]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_NAME
        {
            get { return this[C_MATERIAL_NAME]; }
        }
		
		public ColumnInfo MATERIAL_CODE
        {
            get { return this[C_MATERIAL_CODE]; }
        }
		
		public ColumnInfo TYPE_PUR
        {
            get { return this[C_TYPE_PUR]; }
        }
		
		public ColumnInfo TYPE_OTHER
        {
            get { return this[C_TYPE_OTHER]; }
        }
		
		public ColumnInfo TYPE_SHIPMENT
        {
            get { return this[C_TYPE_SHIPMENT]; }
        }
		
		public ColumnInfo TYPE_FINISHEDGOODS
        {
            get { return this[C_TYPE_FINISHEDGOODS]; }
        }
		
		public ColumnInfo TYPE_TECHNIC
        {
            get { return this[C_TYPE_TECHNIC]; }
        }
		
		public ColumnInfo TYPE_OUT
        {
            get { return this[C_TYPE_OUT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

